package com.vision.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @projectName: vision
 * @package: com.vision.pojo.vo
 * @className: ChatListVO
 * @author: escapeicon@gmail.com
 * @description: 收藏内容展示
 * @date: 2024/1/20 9:59
 * @version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CollectContentVO {
    private Integer id; // 收藏视频ID
    private Integer userId; // 用户ID
    private String username; // 用户名
    private String nickname; // 昵称
    private Integer videoId; // 视频ID
    private String title; // 视频标题
    private String coverUrl; // 视频封面
    private Long views; // 观看次数
    private Long duration; // 视频时长
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime; // 收藏时间
}
